﻿from django.conf.urls.defaults import *

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^ram/', include('ram.foo.urls')),

    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    (r'^admin/(.*)', admin.site.root),
    
    (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': './media'}),
    (r'^upload/(?P<path>.*)$', 'django.views.static.serve', {'document_root': './upload'}),
    
    (r'^/?$', 'ram.default.views.index'),
)
